package org.example.model.activity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 活动点赞表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("activity_like")
public class ActivityLike {

    @TableId(value = "activity_like_id",type = IdType.AUTO)
    private Integer pkId;
    private Integer activityId;
    private Integer userId;
    private Date likeTime;//点赞时间
    private Integer isLiked;//是否取消，0为取消，1为点赞
}
